// 持久化存储 token
export const setToken = (token) => {
  localStorage.setItem("TOKEN", token)
}

// 获取 token
export const getToken = () => {
  return localStorage.getItem("TOKEN")
}

// 退出登录清除本地存储
export const removeToken = () => {
  localStorage.removeItem("TOKEN")
}
